package com.mes_for_xxxxxx.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 工作站信息表，存储工作站相关信息
 * </p>
 *
 * @author 179005
 * @since 2024-09-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("workstation")
@ApiModel(value="Workstation对象", description="工作站信息表，存储工作站相关信息")
public class Workstation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "工作站编号，用于唯一标识工作站")
    @TableId(value = "workstation_Code", type = IdType.AUTO)
    private String workstationCode;

    @ApiModelProperty(value = "工作站名称")
    private String workstationName;

    @ApiModelProperty(value = "工作站地点")
    private String workstationLocation;

    @ApiModelProperty(value = "所在车间名称")
    private String workshopName;

    @ApiModelProperty(value = "所属工序")
    private String process;

    @ApiModelProperty(value = "是否启用，1为启用，0为禁用")
    private Boolean isActive;

    @ApiModelProperty(value = "备注信息，可选字段，用于记录工作站的其他信息")
    private String remark;

    @ApiModelProperty(value = "创建时间，可选字段，记录工作站信息的创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间，可选字段，记录工作站信息的最后更新时间")
    private LocalDateTime updateTime;


}
